package com.booking.controller.model.res;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @author Qikai.Lin
 * @date 2023/4/27
 */
@Data
public class GroupingOrderDetail {

    /**
     * 订单id
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long orderId;
    /**
     * 拼团id
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long groupingId;
    /**
     * 创建者id
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long creatorId;
    /**
     * 游客id
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long visitorId;
    /**
     * 拼团活动名称
     */
    private String groupingName;
    /**
     * 拼团活动简介
     */
    private String description;
    /**
     * 拼团日期
     */
    private String groupingDate;
    /**
     * 预订拼团日期
     */
    private String bookingDate;
    /**
     * 订单状态
     */
    private String orderStatus;
    /**
     * 支付状态
     */
    private String payStatus;
    /**
     * 拼团状态
     */
    private String groupingStatus;
    /**
     * 总价格
     */
    private BigDecimal totalPrices;
    /**
     * 预订价格
     */
    private BigDecimal bookingPrices;

}
